﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chenxin.Lib.House.Entity
{
    /// <summary>
    /// 实体类ProtectedPhoneConfig 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ProtectedPhoneConfig
    {
        public ProtectedPhoneConfig()
        { }
        #region Model
        private Guid _configid;
        private string _configtype;
        private decimal? _configminvalue;
        private decimal? _configmaxvalue;
        private string _configvalue;
        private int _configcontroltype;
        private Guid _cityid;
        private string _city;
        private Guid _companyid;
        private string _company;

        /// <summary>
        /// ID
        /// </summary>
        public Guid ConfigId
        {
            set { _configid = value; }
            get { return _configid; }
        }
        /// <summary>
        /// 类型
        /// </summary>
        public string ConfigType
        {
            set { _configtype = value; }
            get { return _configtype; }
        }
        /// <summary>
        /// 最小值
        /// </summary>
        public decimal? ConfigMinValue
        {
            set { _configminvalue = value; }
            get { return _configminvalue; }
        }
        /// <summary>
        /// 最大值
        /// </summary>
        public decimal? ConfigMaxValue
        {
            set { _configmaxvalue = value; }
            get { return _configmaxvalue; }
        }

        /// <summary>
        /// 配置字符串值
        /// </summary>
        public string ConfigValue
        {
            set { _configvalue = ConfigValue; }
            get { return _configvalue; }
        }

        /// <summary>
        /// 控制类型，10为数字控制，20为选项控制，30为文本值控制
        /// </summary>
        public int ConfigControlType
        {
            set { _configcontroltype = value; }
            get { return _configcontroltype; }
        }

        /// <summary>
        /// 城市ID
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }

        /// <summary>
        /// 城市名称
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }

        /// <summary>
        /// 公司ID
        /// </summary>
        public Guid CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }

        /// <summary>
        /// 公司
        /// </summary>
        public string Company
        {
            set { _company = value; }
            get { return _company; }
        }
        #endregion Model

    }
}
